package com.example.myspringboot.reflex;

/**
 * @Author ZhengShan
 * @Date 2024 06 26 16 47
 **/
@MyAnnotations("this is a testing class")
public class TestClazz {

    private static final String TEST_CLAZZ_INFO = "TEST_CLAZZ_INFO";

    private String testPrivate;

    public String testPublic;

    String test;

    protected String testProtected;

    public TestClazz(){

    }

    public TestClazz(String testPrivate, String testPublic, String test, String testProtected) {
        this.testPrivate = testPrivate;
        this.testPublic = testPublic;
        this.test = test;
        this.testProtected = testProtected;
    }

    public String getTestPrivate() {
        return testPrivate;
    }

    public void setTestPrivate(String testPrivate) {
        this.testPrivate = testPrivate;
    }

    public String getTestPublic() {
        return testPublic;
    }

    public void setTestPublic(String testPublic) {
        this.testPublic = testPublic;
    }

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }

    public String getTestProtected() {
        return testProtected;
    }

    @MyAnnotations("this is a testing class")
    public void setTestProtected(String testProtected) {
        this.testProtected = testProtected;
    }

    @MyAnnotations("this is a testing class")
    public String showString(String name){
        return testPrivate + testPublic + name;
    }
}
